package com.woniuxy.crm.interceptor;



import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author: linKe
 * @Date: 2021/11/21 20:57
 * @FileName: UserInterceptor
 * @version: 1.0
 * @Description: 用户拦截器
 */
public class UserInterceptor extends HandlerInterceptorAdapter {
    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        System.out.println("拦截器代码执行...");
        return true;
    }
}
